// import request from '@/utils/request'
import { request } from '@/utils/request';
import { request3 } from '@/utils/request3';

// 人脸检索详情1
export function getFaceDetails(data) {
	return request({
		url: '/capture/face/flow/gets',
		'method': 'post',
		'data': data
	})
}
// 人脸检索详情2
export function getPersonDetails(data) {
	return request({
		url: '/capture/person/flow/gets',
		'method': 'post',
		'data': data
	})
}
//人体检索
export function getBodyDetail(data) {
	return request({
		url: '/capture/person/flow/gets',
		'method': 'post',
		'data': data
	})
}

export function getFaceDetails2(data) {
	return request3({
		// 'url': '/universe/manage/allstruct/face/gets',
		'url': '/bigdata/manage/allstruct/face/gets',
		'method': 'post',
		'data': data
	})
}

export function getPersonDetails2(data) {
	return request3({
		// 'url': '/universe/manage/allstruct/body/gets',
		'url': '/bigdata/manage/allstruct/body/gets',
		'method': 'post',
		'data': data
	})
}